package com.song.shop.controlelr;

import org.junit.After;
import org.junit.Before;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.web.WebAppConfiguration;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: Song Yinhui
 * @Date: 2018/12/10 19:34
 */

@RunWith(SpringRunner.class)
@SpringBootTest
@WebAppConfiguration
public class BaseController {

    @Before
    public void init(){
        System.out.println("测试开始-----------");
    }

    @After
    public void after(){
        System.out.println("测试结束----------");
    }
}
